﻿using System;

namespace UtfprLibrary.Windows.Forms.ComponentModel {
    public delegate void ModeChangedEventHandler(object sender, ModeChangedEventArgs e);

    /// <summary>
    /// TODO
    /// </summary>
    public class ModeChangedEventArgs : EventArgs {
        private UBNModeEnum _mode;
        /// <summary>
        /// TODO
        /// </summary>
        public UBNModeEnum Mode {
            get { return _mode; }
        }

        /// <summary>
        /// TODO
        /// </summary>
        /// <param name="mode"></param>
        public ModeChangedEventArgs(UBNModeEnum mode) {
            this._mode = mode;
        }
    }
}
